package com.kurumi.autoprint.mapper.mapper.print;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.kurumi.autoprint.pojo.print.PrintMrOrder;

public interface PrintMrOrderMapper {
	int insertPrintMrOrder(PrintMrOrder printMrOrder);
	
    PrintMrOrder selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PrintMrOrder record);

    int updateByPrimaryKey(PrintMrOrder record);
    
    List<PrintMrOrder> selectByOrderNum(@Param("orderNum")String orderNum);
    
	int updatePrintStatusByOrderNum(@Param("orderNum") String orderNum, @Param("printStatus") 
			Integer printStatus, @Param("printErrorMsg") String printErrorMsg);
	
	
	List<Map<String,Object>> getPrintDetailList(Map<String,Object> params);

	Map<String, Object> getPrintDetailByOrderId(@Param("orderId")Integer orderId);
	
	
	List<Map<String,Object>> getPrintDetailInfoByParams(Map<String,Object> params);
	
	
	
	
	
	
	
	

}
